package sg.edu.nus.iss.cerberus.model;

import java.io.Serializable;

/**
 * @author Lin Naing Oo(A0079983E)
 * */

public abstract class CField implements Serializable{

	private String fieldType;
	private String fieldName;
	private Object value;
	
	//Constructor
	public CField(String type, String name, Object val){
		this.fieldType = type;
		this.fieldName = name;
		this.value = val;
	}

	//get and set for fieldType
	public void setFieldType(String type){
		this.fieldType = type;
	}
	public String getFieldType(){
		return this.fieldType;
	}
	
	//get and set for fieldName
	public void setFieldName(String name){
		this.fieldName = name;
	}
	public String getFieldName(){
		return this.fieldName;
	}
	
	//get and set for fieldValue
	public void setValue(Object val){
		this.value = val;
	}
	public Object getValue(){
		return this.value;
	}
}
